﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace G.Service.Data
{
    public abstract class BaseData
    {
        internal ServiceEntities Entities { get; private set; }
        public BaseData()
        {
            Entities = new ServiceEntities();
        }

        public int SaveChanges()
        {
            return Entities.SaveChanges();
        }
    }
}
